home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMHTMLLegendElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  5KB  |  139 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMHTMLLegendElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMHTMLLegendElement_h__
  6. #define __gen_nsIDOMHTMLLegendElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMHTMLElement_h__
  10. #include "nsIDOMHTMLElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMHTMLLegendElement */
  19. #define NS_IDOMHTMLLEGENDELEMENT_IID_STR "a6cf9098-15b3-11d2-932e-00805f8add32"
  20.  
  21. #define NS_IDOMHTMLLEGENDELEMENT_IID \
  22.   {0xa6cf9098, 0x15b3, 0x11d2, \
  23.     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  24.  
  25. /**
  26.  * The nsIDOMHTMLLegendElement interface is the interface to a [X]HTML
  27.  * legend element.
  28.  *
  29.  * For more information on this interface please see
  30.  * http://www.w3.org/TR/DOM-Level-2-HTML/
  31.  *
  32.  * @status FROZEN
  33.  */
  34. class NS_NO_VTABLE nsIDOMHTMLLegendElement : public nsIDOMHTMLElement {
  35.  public: 
  36.  
  37.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLLEGENDELEMENT_IID)
  38.  
  39.   /* readonly attribute nsIDOMHTMLFormElement form; */
  40.   NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
  41.  
  42.   /* attribute DOMString accessKey; */
  43.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey) = 0;
  44.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) = 0;
  45.  
  46.   /* attribute DOMString align; */
  47.   NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
  48.   NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
  49.  
  50. };
  51.  
  52. /* Use this macro when declaring classes that implement this interface. */
  53. #define NS_DECL_NSIDOMHTMLLEGENDELEMENT \
  54.   NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm); \
  55.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey); \
  56.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey); \
  57.   NS_IMETHOD GetAlign(nsAString & aAlign); \
  58.   NS_IMETHOD SetAlign(const nsAString & aAlign); 
  59.  
  60. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  61. #define NS_FORWARD_NSIDOMHTMLLEGENDELEMENT(_to) \
  62.   NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm); } \
  63.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return _to GetAccessKey(aAccessKey); } \
  64.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return _to SetAccessKey(aAccessKey); } \
  65.   NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
  66.   NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } 
  67.  
  68. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  69. #define NS_FORWARD_SAFE_NSIDOMHTMLLEGENDELEMENT(_to) \
  70.   NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); } \
  71.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessKey(aAccessKey); } \
  72.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAccessKey(aAccessKey); } \
  73.   NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
  74.   NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } 
  75.  
  76. #if 0
  77. /* Use the code below as a template for the implementation class for this interface. */
  78.  
  79. /* Header file */
  80. class nsDOMHTMLLegendElement : public nsIDOMHTMLLegendElement
  81. {
  82. public:
  83.   NS_DECL_ISUPPORTS
  84.   NS_DECL_NSIDOMHTMLLEGENDELEMENT
  85.  
  86.   nsDOMHTMLLegendElement();
  87.  
  88. private:
  89.   ~nsDOMHTMLLegendElement();
  90.  
  91. protected:
  92.   /* additional members */
  93. };
  94.  
  95. /* Implementation file */
  96. NS_IMPL_ISUPPORTS1(nsDOMHTMLLegendElement, nsIDOMHTMLLegendElement)
  97.  
  98. nsDOMHTMLLegendElement::nsDOMHTMLLegendElement()
  99. {
  100.   /* member initializers and constructor code */
  101. }
  102.  
  103. nsDOMHTMLLegendElement::~nsDOMHTMLLegendElement()
  104. {
  105.   /* destructor code */
  106. }
  107.  
  108. /* readonly attribute nsIDOMHTMLFormElement form; */
  109. NS_IMETHODIMP nsDOMHTMLLegendElement::GetForm(nsIDOMHTMLFormElement * *aForm)
  110. {
  111.     return NS_ERROR_NOT_IMPLEMENTED;
  112. }
  113.  
  114. /* attribute DOMString accessKey; */
  115. NS_IMETHODIMP nsDOMHTMLLegendElement::GetAccessKey(nsAString & aAccessKey)
  116. {
  117.     return NS_ERROR_NOT_IMPLEMENTED;
  118. }
  119. NS_IMETHODIMP nsDOMHTMLLegendElement::SetAccessKey(const nsAString & aAccessKey)
  120. {
  121.     return NS_ERROR_NOT_IMPLEMENTED;
  122. }
  123.  
  124. /* attribute DOMString align; */
  125. NS_IMETHODIMP nsDOMHTMLLegendElement::GetAlign(nsAString & aAlign)
  126. {
  127.     return NS_ERROR_NOT_IMPLEMENTED;
  128. }
  129. NS_IMETHODIMP nsDOMHTMLLegendElement::SetAlign(const nsAString & aAlign)
  130. {
  131.     return NS_ERROR_NOT_IMPLEMENTED;
  132. }
  133.  
  134. /* End of implementation class template. */
  135. #endif
  136.  
  137.  
  138. #endif /* __gen_nsIDOMHTMLLegendElement_h__ */
  139.